<?php

Loader::using("ext::libs::AssetsLoader");
 
function smarty_function_script_entry_point($params, $template) {

    $src = $params["src"];
    $document = &JFactory::getDocument();
    $base = JURI::base();
    
    $document->addCustomTag("<script data-main='{$base}components/com_acaweb/assets/js/$src' src='{$base}components/com_acaweb/assets/js/Require.jQuery.js' type='text/javascript'></script>");

    return "";
}

?>
